Skip to content

Conversation

@todbot
Copy link

@todbot todbot commented Feb 16, 2025

This PR allows a one-line code.py to be specified in a port's mpconfigboard.mk so a product's full firmware can be built in CI.

The intended use is something like this in mpconfigboard.mk:

FROZEN_MPY_DIRS += $(TOP)/ports/raspberrypi/boards/raspberry_pi_pico_todbot
CIRCUITPY_CODEPY_CONTENTS="import some_awesome_code\n"

and then some_awesome_code.py containing what would normally be code.py is located in the port's directory.

@todbot todbot closed this Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant